xl: improve return and exit codes of parse related functions
authorHarmandeep Kaur <write.harmandeep@gmail.com>
Wed, 28 Oct 2015 02:26:23 +0000 (07:56 +0530)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 3 Nov 2015 17:03:04 +0000 (17:03 +0000)
commit1365cdb6debc842be503d990c2c182056edcc57b
treef9417575bd2e40432a757964655742d7486f2ba4
parent5b725e56d684ca6a437c9679d53314e9ce9f20d7
xl: improve return and exit codes of parse related functions

Turning  cpupools related functions exit codes towards using the
EXIT_[SUCCESS|FAILURE] constants, instead of instead of arbitrary numbers
or libxl return codes.

Signed-off-by: Harmandeep Kaur <write.harmandeep@gmail.com>
Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/xl_cmdimpl.c